/*
 * Copyright 2008 jarics Inc.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 * 
 * http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

package com.jarics.gwt.client.composites;

import java.io.Serializable;

import com.google.gwt.user.client.ui.ChangeListener;
import com.google.gwt.user.client.ui.ClickListener;

public interface ColumnConfigIf extends Serializable{

	static public final int LIST_BOX = 0;
	static public final int TEXT_BOX = 1;
	static public final int IMAGE = 2;
	static public final int LABEL = 3;
	static public final int CHECK_BOX = 4;
	static public final int TIME_LIST_BOX = 5;
	static public final int BUTTON_BOX = 6;
	static public final int RICH_TEXT_AREA = 7;
	static public final int CUSTOM = 8;
	
	public String getToolTip();

	public String getHeader();

	public void setToolTip(String toolTip);

	public void setHeader(String header);
	
	public int getUiType();
	
	public void setClickListener( ClickListener clickListener );
	
	public ClickListener getClickListener( );
	
	public void setChangeListener( ChangeListener clickListener );
	
	public ChangeListener getChangeListener( );	
	
	public int getWidth();
	
	public int getHeight();
	

}